
// 打印顶部内容模板
export const getTopHtml = (param) => {
  return `
        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

  <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>
  <title></title>
  <meta name="generator" content="https://conversiontools.io"/>
  <meta name="author" content="Administrator"/>
  <meta name="created" content="2018-11-22T02:15:00"/>
  <meta name="changedby" content="-SPODA-佳"/>
  <meta name="changed" content="2021-06-10T02:27:14"/>
  <meta name="ICV" content="B8CA47AB655B46758A4B19AEEA16C929"/>
  <meta name="KSOProductBuildVer" content="2052-11.1.0.10577"/>

  <style type="text/css">
    body, div, table, thead, tbody, tfoot, tr, th, td, p {
      font-family: "SimSun";
    }

    a.comment-indicator:hover + comment {
      background: #ffd;
      position: absolute;
      display: block;
      border: 1px solid black;
      padding: 0.5em;
    }

    a.comment-indicator {
      background: red;
      display: inline-block;
      border: 1px solid black;
      width: 0.5em;
      height: 0.5em;
    }

    comment {
      display: none;
    }
  </style>

</head>

<body id="saleorder">
<table cellspacing="0" border="0">
  <colgroup width="36"></colgroup>
  <colgroup width="92"></colgroup>
  <colgroup width="102"></colgroup>
  <colgroup width="210"></colgroup>
  <colgroup width="81"></colgroup>
  <colgroup width="321"></colgroup>
  <colgroup width="84"></colgroup>
  <tr>
    <td colspan=7 height="49" align="center" valign=middle><b><font face="SimSun" size=5 color="#000000">客户下单信息通知表
    ${param.logo}
    </font></b></td>
    </tr>
  <tr>
  <tr>
    <td
      style="border-top: 2px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000"
      colspan=3 height="44" align="left" valign=middle><b><font face="SimSun" color="#000000">客户名称：</font></b>
       ${param.form.customerName}
    </td>
    <td
      style="border-top: 2px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      colspan=2 align="left" valign=middle><b><font face="SimSun" color="#000000">联系电话：</font></b>
       ${param.form.contact}
    </td>
    <td
      style="border-top: 2px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 2px solid #000000"
      colspan=2 align="left" valign=middle><b><font face="SimSun" color="#000000">业务代码：</font></b>
             ${param.form.code}
    </td>
  </tr>
  <tr>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000"
      colspan=3 height="40" align="left" valign=middle><b><font face="SimSun" color="#000000">下单时间：</font></b>
             ${param.form.orderDate}
    </td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      colspan=2 align="left" valign=middle><b><font face="SimSun" color="#000000">要求交货时间：</font></b>
                   ${param.form.deliveryDate}
    </td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 2px solid #000000"
      colspan=2 align="left" valign=middle><b><font face="SimSun" color="#000000">要求回复出货时间：</font></b>
                         ${param.form.requireDate}

    </td>
  </tr>
  <tr>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 2px solid #000000"
      colspan=7 height="34" align="center" valign=middle><b><font face="SimSun" size=4 color="#000000">以下产品信息请务必详细填写并经客户确认</font></b>
    </td>
  </tr>
  <tr>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000"
      height="36" align="center" valign=middle><b><font face="SimSun" color="#000000">序号</font></b>
    </td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      align="center" valign=middle><b><font face="SimSun" color="#000000">材质</font></b></td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      align="center" valign=middle><b><font face="SimSun" color="#000000">品牌</font></b></td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      align="center" valign=middle><b><font face="SimSun"
                                            color="#000000">产品规格</font></b></td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      align="center" valign=middle><b><font face="SimSun" color="#000000">数量</font></b></td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000"
      align="center" valign=middle><b><font face="SimSun" color="#000000">客户要求<br>(包括工艺、材质、包装、出货等等）</font></b>
    </td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 2px solid #000000"
      align="center" valign=middle><b><font face="SimSun" color="#000000">备注</font></b></td>
  </tr>
    ${param.itemList}
  <tr>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000"
      colspan=6 height="90" align="left" valign=middle><b><font face="SimSun" color="#000000">对应业务员签字确认：</font></b>
    </td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 2px solid #000000"
      align="left" valign=middle><font color="#000000"><br></font></td>
  </tr>
  <tr>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000"
      colspan=6 height="90" align="left" valign=middle><b><font face="SimSun" color="#000000">业务经理或总经理审核意见：</font></b>
    </td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; border-right: 2px solid #000000"
      align="left" valign=middle><font color="#000000"><br></font></td>
  </tr>
  <tr>
    <td
      style="border-top: 1px solid #000000; border-bottom: 2px solid #000000; border-left: 2px solid #000000; border-right: 1px solid #000000"
      rowspan=4 height="124" align="center" valign=middle><font face="SimSun"
                                                                color="#000000">要求</font></td>
    <td
      style="border-top: 1px solid #000000; border-bottom: 2px solid #000000; border-left: 1px solid #000000; border-right: 2px solid #000000"
      colspan=6 rowspan=4 align="left" valign=middle><font face="SimSun" color="#000000">1、客户下单必须经相关业务人员确认，并报业务经理或总经理核准；<br>2、本表单经业务经理或总经理核准后，视为正式下单，由生产部门组织订单评审并回复业务出货时间（常规1天之内，非常规3天之内）。<br>3、其它非本表单下单通知（或填写信息不全），及客户直接下单给生产部门的订单，不视为业务正式下单；<br>4、生产部产品生产安排全部以此信息为准，否则，不承担产品信息错失责任。</font>
    </td>
  </tr>
  <tr>
  </tr>
  <tr>
  </tr>
  <tr>
  </tr>
</table>
</body>

</html>

        `
}

